home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / source / fileselect.lha / FileSelect / FileSelect.i < prev    next >
Text File  |  1992-05-14  |  2KB  |  93 lines

  1. * ---------------------------------------------------------
  2. * FileSelect V2.0 include-file (DevPac version)
  3. * Must be included if you compile the source.
  4. * You should use this include-file because you can use
  5. * later versions easier in your old programs.
  6. * AW/CLUSTER 01.09.1990
  7. * ---------------------------------------------------------
  8. * Filters added 03.09.1990   -AW-
  9. * Pens added 06.09.1990   -AW-
  10. * Error removed in FS2F_FilterElement 22.09.1990   -AW-
  11. * Keywords added in FS2_FileSelectReturn 27.09.1990   -AW-
  12. * Reserved added in all structures 28.09.1990   -AW-
  13. * NFS2_NOGADGETS added 29.09.1990   -AW-
  14. * ---------------------------------------------------------
  15.  
  16. * Struct to build FileSelect
  17. * a0 should contain a pointer on this structure.
  18. * If not, the indian gods will probably send their gurus...
  19.  
  20.             rsreset
  21. NFS2_NewFileSelect    rs.b    0
  22. NFS2_LeftEdge        rs.w    1
  23. NFS2_TopEdge        rs.w    1
  24. NFS2_WindowTitle    rs.l    1
  25. NFS2_DefaultPath    rs.l    1
  26. NFS2_DefaultFile    rs.l    1
  27. NFS2_Screenptr        rs.l    1
  28. NFS2_GadgetFlags    rs.w    1
  29. NFS2_FirstFilter    rs.l    1
  30. NFS2_BackPen        rs.b    1
  31. NFS2_FilePen        rs.b    1
  32. NFS2_DirPen        rs.b    1
  33. NFS2_GadgetPen        rs.b    1
  34. NFS2_Reserved1        rs.l    1
  35. NFS2_Reserved2        rs.l    1
  36. NFS2_SIZEOF        rs.w    0
  37.  
  38. * Use the following keywords to avoid those nothing-is-said-with-it numbers.
  39.  
  40. NFS2_CENTREPOS        equ    -1
  41. NFS2_DEFAULTTITLE    equ    0
  42. NFS2_NODEFAULT        equ    0
  43. NFS2_ACTIVESCREEN    equ    0
  44. NFS2_MAKEDIR        equ    1<<0
  45. NFS2_DELETE        equ    1<<1
  46. NFS2_RENAME        equ    1<<2
  47. NFS2_NOGADGETS        equ    0
  48. NFS2_NOFILTER        equ    0
  49. NFS2_DEFAULTPEN        equ    -1
  50.  
  51. * Struct for a filter
  52. * NFS2_NewFileSelect.NFS2_FirstFilter can optionally point on this structure.
  53. * It can also point on another structure of this type to add another filter.
  54.  
  55.             rsreset
  56. FS2F_FilterElement    rs.b    0
  57. FS2F_NextFilter        rs.l    1
  58. FS2F_FilterLength    rs.b    1
  59. FS2F_AdjustToWord    rs.b    1
  60. FS2F_Filter        rs.l    1
  61. FS2F_Reserved        rs.l    1
  62. FS2F_SIZEOF        rs.w    0
  63.  
  64. * Use the following keyword to avoid those nothing-is-said-with-it numbers.
  65.  
  66. FS2F_LASTFILTER        equ    0
  67.  
  68. * Struct which is sent back from FileSelect
  69. * d0 points on this structure containing all important answers from
  70. * FileSelect.
  71.  
  72.             rsreset
  73. FS2_FileSelectReturn    rs.b    0
  74. FS2_Status        rs.w    1
  75. FS2_Path        rs.l    1
  76. FS2_File        rs.l    1
  77. FS2_FullName        rs.l    1
  78. FS2_Reserved1        rs.l    1
  79. FS2_Reserved2        rs.l    1
  80. FS2_SIZEOF        rs.w    0
  81.  
  82. * Use the following keywords to avoid those nothing-is-said-with-it numbers.
  83.  
  84. FS2_OKAY        equ    0
  85. FS2_CANCEL        equ    1
  86. FS2_WINDOWERR        equ    2
  87. FS2_NOPATH        equ    0
  88. FS2_NOFILE        equ    0
  89. FS2_NOFULLNAME        equ    0
  90.  
  91. * ----- AW/CLUSTER -----
  92.  
  93.